import Vue from 'vue'
import Router from 'vue-router'

// import Home from '@/components/home/Home'
import Login from '@/views/login'
import Register from '@/views/register/index.vue'
import Entry from '@/views/entry/index.vue'


Vue.use(Router)

export default new Router({
  routes: [
    { path: '*', redirect: '/entry'},
    { path: '/login', component: Login},
    { path: '/register', component: Register},
    { path: '/entry', component: Entry},
  ]
})